﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel.Web;
using System.Data.Services;
using System.Xml.Linq;
using System.ServiceModel;
using WebApp.Domain;
using WebApp.Service;
using WebApp.Data;

namespace WebApp.Web
{
    public partial class WcfDataService : DataService<TempFileDbContext>
    {
        //[WebGet]
        //public IQueryable<StockInProduct> GetStockNowByProductCode(string productCode)
        //{
        //    var q = from s in this.CurrentDataSource.StockInProductSet
        //            where s.ProductCode == productCode
        //               && s.CompanyCode == user.CompanyCode
        //            orderby s.StockInDate descending
        //            select s;
        //    return q;
        //}

    }
}